#ifndef Q_PCL_PLUGIN_LOADPCD_HEADER
#define Q_PCL_PLUGIN_LOADPCD_HEADER

#include "BaseFilter.h"

//Qt
#include <QStringList>

/** \brief LoadPCD filter
 * \author Luca Penasa
 * Enables loading of some of the types defined in PCL \n
 * This class is an implementation of the PCLFilter base class. \n
 * Overridden methods are init(), openDialog() and compute() \n
 * \note conversion is made using the function sensorToCC()
 */
class LoadPCD: public BaseFilter
{
    Q_OBJECT

public:

	//! Default constructor
    LoadPCD();

	//inherited from BaseFilter
	virtual int compute();

protected:

	//inherited from BaseFilter
    virtual int checkSelected();
    virtual int openDialog();
    virtual QString getErrorMessage(int errorCode);

    //! Filename(s) to open
    QStringList m_filenames;

};

#endif
